package com.hz.service.impl;

import com.hz.dao.UserOrderDao;
import com.hz.pojo.UserOrder;
import com.hz.service.UserOrderServic;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class UserOrderServicImpl implements UserOrderServic {
    @Resource
    UserOrderDao userOrderDao;
    @Override
    public List<UserOrder> getAllUserOrder(String order_code,Integer order_state, Integer pages, Integer pageSize) throws Exception {
        return userOrderDao.getAllUserOrder(order_code,order_state,pages,pageSize);
    }
}
